package com.chpn.log.write;

import cn.hutool.json.JSONUtil;
import com.chpn.log.entity.TagEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class WriteLogB {
    private static final Logger logger = LoggerFactory.getLogger(WriteLogB.class);


    public static void write(TagEntity tagEntity){
        logger.info("tag:{}", JSONUtil.toJsonStr(tagEntity));
    }
}
